<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AmpleHarvest: cJsonValidator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">AmpleHarvest
   &#160;<span id="projectnumber">0.0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classc_json_validator.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">cJsonValidator Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="cJsonValidator" -->
<p><a href="classc_json_validator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a50d6a67903cbc9a49291f367edc3aca9">add_Path</a> ($str_Path)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#af9334a2f24bf5daa5f3868984252df1d">convert_ErrorCode</a> ($int_ErrorCode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#ac9cdf5147a0eed0f6638f3b5dc6bf1ec">get_ErrorText</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a410d12ac891da2c2322e4e0a6b227358">get_JsonFromFile</a> ($str_File)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a4dd07c12e47a7a38863faaff07dcbe21">get_LastJsonPos</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a6f80e92ed4b31007b3e456fabeba7fca">get_LastSchemaPos</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#aa5e28fd0f73b80fa76173a650c3e72cc">validate</a> ($mix_JSON, $mix_Schema=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enter description here ...  <a href="#aa5e28fd0f73b80fa76173a650c3e72cc"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a276ecf5f8296878cc6c0a3087a17b729">C_INT_ERROR_INVALID_JSON</a> = -1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#abc7a3229df481fa27cb63786c91bc337">C_INT_ERROR_INVALID_SCHEMA</a> = -2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#ad9f0cbec242ee4c1074cf79877edf093">C_INT_ERROR_MATCH_SCHEMA</a> = -3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a75ad47ab97be15a55d12493fdb214126">C_INT_ERROR_MISSING_DEPENDENCY</a> = -5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a25963e5f4799cd1dbdcb46f6e316d8a0">C_INT_ERROR_MISSING_REQUIRED</a> = -4</td></tr>
<tr><td colspan="2"><h2><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#af9318add097fa481e6c6c44e47544dd0">load_Ref</a> ($str_Ref)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a9d1dcef29b3677cc3a4cf0ece6fbbe20">type_Switch</a> ($str_Type, &amp;$mix_Schema, &amp;$mix_Json)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a6824ecd77c05851bf70154a8a4cfcf69">validate_Items</a> ($obj_Items, $obj_Json)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a06cc1cfebe32e6079d41e11077d621aa">validate_Properties</a> ($arr_Properties, $obj_Json)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a23ae4ccfe720488e66933a8bf7d5d6a9">validate_Section</a> ($mix_SchemaSection, $mix_JsonSection)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enter description here ...  <a href="#a23ae4ccfe720488e66933a8bf7d5d6a9"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a3e65298ebc970d7c7f92b3302d0f0587">$m_arr_Paths</a> = array()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a66a0c61380a666112029521b74c7a8d4">$m_arr_Schema</a> = array()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#a8658e36f478f62534ae4b91344d9c62b">$m_str_ErrorTxt</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#ade5832bd2ae1b1d77e6ba17e2a515def">$m_str_Json_Loc</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_json_validator.html#ace50e05c34c947cbd33fcd258ca53775">$m_str_Schema_Loc</a> = &quot;&quot;</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00002">2</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a50d6a67903cbc9a49291f367edc3aca9"></a><!-- doxytag: member="cJsonValidator::add_Path" ref="a50d6a67903cbc9a49291f367edc3aca9" args="($str_Path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static add_Path </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>str_Path</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00017">17</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="_g_e2_neo_8php_source.html#l00117">validate_Json()</a>.</p>

</div>
</div>
<a class="anchor" id="af9334a2f24bf5daa5f3868984252df1d"></a><!-- doxytag: member="cJsonValidator::convert_ErrorCode" ref="af9334a2f24bf5daa5f3868984252df1d" args="($int_ErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static convert_ErrorCode </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>int_ErrorCode</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00313">313</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="_g_e2_neo_8php_source.html#l00117">validate_Json()</a>, <a class="el" href="process___data___queue_8php_source.html#l00265">process_Data_Queue\validate_Json()</a>, and <a class="el" href="process___data1_8php_source.html#l00290">process_Data_1\validate_Json()</a>.</p>

</div>
</div>
<a class="anchor" id="ac9cdf5147a0eed0f6638f3b5dc6bf1ec"></a><!-- doxytag: member="cJsonValidator::get_ErrorText" ref="ac9cdf5147a0eed0f6638f3b5dc6bf1ec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static get_ErrorText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00033">33</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00015">$m_str_ErrorTxt</a>.</p>

<p>Referenced by <a class="el" href="_g_e2_neo_8php_source.html#l00117">validate_Json()</a>, <a class="el" href="process___data___queue_8php_source.html#l00265">process_Data_Queue\validate_Json()</a>, and <a class="el" href="process___data1_8php_source.html#l00290">process_Data_1\validate_Json()</a>.</p>

</div>
</div>
<a class="anchor" id="a410d12ac891da2c2322e4e0a6b227358"></a><!-- doxytag: member="cJsonValidator::get_JsonFromFile" ref="a410d12ac891da2c2322e4e0a6b227358" args="($str_File)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static get_JsonFromFile </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>str_File</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00022">22</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00097">load_Ref()</a>.</p>

</div>
</div>
<a class="anchor" id="a4dd07c12e47a7a38863faaff07dcbe21"></a><!-- doxytag: member="cJsonValidator::get_LastJsonPos" ref="a4dd07c12e47a7a38863faaff07dcbe21" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static get_LastJsonPos </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00038">38</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00014">$m_str_Json_Loc</a>.</p>

<p>Referenced by <a class="el" href="_g_e2_neo_8php_source.html#l00117">validate_Json()</a>, <a class="el" href="process___data___queue_8php_source.html#l00265">process_Data_Queue\validate_Json()</a>, and <a class="el" href="process___data1_8php_source.html#l00290">process_Data_1\validate_Json()</a>.</p>

</div>
</div>
<a class="anchor" id="a6f80e92ed4b31007b3e456fabeba7fca"></a><!-- doxytag: member="cJsonValidator::get_LastSchemaPos" ref="a6f80e92ed4b31007b3e456fabeba7fca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static get_LastSchemaPos </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00028">28</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00013">$m_str_Schema_Loc</a>.</p>

<p>Referenced by <a class="el" href="_g_e2_neo_8php_source.html#l00117">validate_Json()</a>, <a class="el" href="process___data___queue_8php_source.html#l00265">process_Data_Queue\validate_Json()</a>, and <a class="el" href="process___data1_8php_source.html#l00290">process_Data_1\validate_Json()</a>.</p>

</div>
</div>
<a class="anchor" id="af9318add097fa481e6c6c44e47544dd0"></a><!-- doxytag: member="cJsonValidator::load_Ref" ref="af9318add097fa481e6c6c44e47544dd0" args="($str_Ref)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static load_Ref </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>str_Ref</em></td><td>)</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00097">97</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00008">C_INT_ERROR_MISSING_DEPENDENCY</a>, and <a class="el" href="c_json_validator_8php_source.html#l00022">get_JsonFromFile()</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d1dcef29b3677cc3a4cf0ece6fbbe20"></a><!-- doxytag: member="cJsonValidator::type_Switch" ref="a9d1dcef29b3677cc3a4cf0ece6fbbe20" args="($str_Type, &amp;$mix_Schema, &amp;$mix_Json)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static type_Switch </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>str_Type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>mix_Schema</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>mix_Json</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00147">147</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00014">$m_str_Json_Loc</a>, <a class="el" href="c_json_validator_8php_source.html#l00013">$m_str_Schema_Loc</a>, <a class="el" href="c_json_validator_8php_source.html#l00006">C_INT_ERROR_MATCH_SCHEMA</a>, <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00194">validate_Properties()</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00194">validate_Properties()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00138">validate_Section()</a>.</p>

</div>
</div>
<a class="anchor" id="aa5e28fd0f73b80fa76173a650c3e72cc"></a><!-- doxytag: member="cJsonValidator::validate" ref="aa5e28fd0f73b80fa76173a650c3e72cc" args="($mix_JSON, $mix_Schema=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static validate </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>mix_JSON</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>mix_Schema</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enter description here ... </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">unknown_type</td><td class="paramname">$mix_JSON</td><td></td></tr>
    <tr><td class="paramtype">unknown_type</td><td class="paramname">$mix_Schema</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>integer negative if error 0 or &gt; if good<ul>
<li><b>-2</b> - Invalid Schema String passed</li>
<li><b>-1</b> - Invalid Json String passed</li>
<li><b>0</b> - Valid </li>
</ul>
</dd></dl>

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00053">53</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00004">C_INT_ERROR_INVALID_JSON</a>, <a class="el" href="c_json_validator_8php_source.html#l00005">C_INT_ERROR_INVALID_SCHEMA</a>, and <a class="el" href="c_json_validator_8php_source.html#l00138">validate_Section()</a>.</p>

<p>Referenced by <a class="el" href="_g_e2_neo_8php_source.html#l00117">validate_Json()</a>.</p>

</div>
</div>
<a class="anchor" id="a6824ecd77c05851bf70154a8a4cfcf69"></a><!-- doxytag: member="cJsonValidator::validate_Items" ref="a6824ecd77c05851bf70154a8a4cfcf69" args="($obj_Items, $obj_Json)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static validate_Items </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>obj_Items</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>obj_Json</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00239">239</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00014">$m_str_Json_Loc</a>, <a class="el" href="c_json_validator_8php_source.html#l00013">$m_str_Schema_Loc</a>, <a class="el" href="c_json_validator_8php_source.html#l00005">C_INT_ERROR_INVALID_SCHEMA</a>, <a class="el" href="c_json_validator_8php_source.html#l00006">C_INT_ERROR_MATCH_SCHEMA</a>, <a class="el" href="c_json_validator_8php_source.html#l00097">load_Ref()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00194">validate_Properties()</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>.</p>

</div>
</div>
<a class="anchor" id="a06cc1cfebe32e6079d41e11077d621aa"></a><!-- doxytag: member="cJsonValidator::validate_Properties" ref="a06cc1cfebe32e6079d41e11077d621aa" args="($arr_Properties, $obj_Json)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static validate_Properties </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>arr_Properties</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>obj_Json</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00194">194</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00014">$m_str_Json_Loc</a>, <a class="el" href="c_json_validator_8php_source.html#l00013">$m_str_Schema_Loc</a>, <a class="el" href="c_json_validator_8php_source.html#l00007">C_INT_ERROR_MISSING_REQUIRED</a>, and <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>.</p>

</div>
</div>
<a class="anchor" id="a23ae4ccfe720488e66933a8bf7d5d6a9"></a><!-- doxytag: member="cJsonValidator::validate_Section" ref="a23ae4ccfe720488e66933a8bf7d5d6a9" args="($mix_SchemaSection, $mix_JsonSection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static validate_Section </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>mix_SchemaSection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>mix_JsonSection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enter description here ... </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">unknown_type</td><td class="paramname">$mix_JSON</td><td></td></tr>
    <tr><td class="paramtype">unknown_type</td><td class="paramname">$mix_Schema</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>integer negative if error 0 or &gt; if good<ul>
<li><b>-4</b> - Json Missing Required Data</li>
<li><b>-3</b> - Json failed Schema Match</li>
<li><b>0</b> - Valid </li>
</ul>
</dd></dl>

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00138">138</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>References <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00053">validate()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a3e65298ebc970d7c7f92b3302d0f0587"></a><!-- doxytag: member="cJsonValidator::$m_arr_Paths" ref="a3e65298ebc970d7c7f92b3302d0f0587" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$m_arr_Paths = array()<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00011">11</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a66a0c61380a666112029521b74c7a8d4"></a><!-- doxytag: member="cJsonValidator::$m_arr_Schema" ref="a66a0c61380a666112029521b74c7a8d4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$m_arr_Schema = array()<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00010">10</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a8658e36f478f62534ae4b91344d9c62b"></a><!-- doxytag: member="cJsonValidator::$m_str_ErrorTxt" ref="a8658e36f478f62534ae4b91344d9c62b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$m_str_ErrorTxt = &quot;&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00015">15</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00033">get_ErrorText()</a>.</p>

</div>
</div>
<a class="anchor" id="ade5832bd2ae1b1d77e6ba17e2a515def"></a><!-- doxytag: member="cJsonValidator::$m_str_Json_Loc" ref="ade5832bd2ae1b1d77e6ba17e2a515def" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$m_str_Json_Loc = &quot;&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00014">14</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00038">get_LastJsonPos()</a>, <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>, <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00194">validate_Properties()</a>.</p>

</div>
</div>
<a class="anchor" id="ace50e05c34c947cbd33fcd258ca53775"></a><!-- doxytag: member="cJsonValidator::$m_str_Schema_Loc" ref="ace50e05c34c947cbd33fcd258ca53775" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$m_str_Schema_Loc = &quot;&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00013">13</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00028">get_LastSchemaPos()</a>, <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>, <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00194">validate_Properties()</a>.</p>

</div>
</div>
<a class="anchor" id="a276ecf5f8296878cc6c0a3087a17b729"></a><!-- doxytag: member="cJsonValidator::C_INT_ERROR_INVALID_JSON" ref="a276ecf5f8296878cc6c0a3087a17b729" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classc_json_validator.html#a276ecf5f8296878cc6c0a3087a17b729">C_INT_ERROR_INVALID_JSON</a> = -1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00004">4</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00053">validate()</a>.</p>

</div>
</div>
<a class="anchor" id="abc7a3229df481fa27cb63786c91bc337"></a><!-- doxytag: member="cJsonValidator::C_INT_ERROR_INVALID_SCHEMA" ref="abc7a3229df481fa27cb63786c91bc337" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classc_json_validator.html#abc7a3229df481fa27cb63786c91bc337">C_INT_ERROR_INVALID_SCHEMA</a> = -2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00005">5</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00053">validate()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>.</p>

</div>
</div>
<a class="anchor" id="ad9f0cbec242ee4c1074cf79877edf093"></a><!-- doxytag: member="cJsonValidator::C_INT_ERROR_MATCH_SCHEMA" ref="ad9f0cbec242ee4c1074cf79877edf093" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classc_json_validator.html#ad9f0cbec242ee4c1074cf79877edf093">C_INT_ERROR_MATCH_SCHEMA</a> = -3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00006">6</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00147">type_Switch()</a>, and <a class="el" href="c_json_validator_8php_source.html#l00239">validate_Items()</a>.</p>

</div>
</div>
<a class="anchor" id="a75ad47ab97be15a55d12493fdb214126"></a><!-- doxytag: member="cJsonValidator::C_INT_ERROR_MISSING_DEPENDENCY" ref="a75ad47ab97be15a55d12493fdb214126" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classc_json_validator.html#a75ad47ab97be15a55d12493fdb214126">C_INT_ERROR_MISSING_DEPENDENCY</a> = -5</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00008">8</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00097">load_Ref()</a>.</p>

</div>
</div>
<a class="anchor" id="a25963e5f4799cd1dbdcb46f6e316d8a0"></a><!-- doxytag: member="cJsonValidator::C_INT_ERROR_MISSING_REQUIRED" ref="a25963e5f4799cd1dbdcb46f6e316d8a0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classc_json_validator.html#a25963e5f4799cd1dbdcb46f6e316d8a0">C_INT_ERROR_MISSING_REQUIRED</a> = -4</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="c_json_validator_8php_source.html#l00007">7</a> of file <a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a>.</p>

<p>Referenced by <a class="el" href="c_json_validator_8php_source.html#l00194">validate_Properties()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="c_json_validator_8php_source.html">cJsonValidator.php</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classc_json_validator.html">cJsonValidator</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Mon Jan 23 2012 13:34:24 for AmpleHarvest by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
